package com.spring.study.mapper;

import com.spring.study.pojo.Emp;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author Ping01
* @description 针对表【emp】的数据库操作Mapper
* @createDate 2025-02-17 10:30:38
* @Entity com.spring.study.pojo.Emp
*/
@Mapper
public interface EmpMapper {

    List<Emp> findAllEmp();

    int deleteByPrimaryKey(Long id);

    int insert(Emp record);

    int insertSelective(Emp record);

    Emp selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Emp record);

    int updateByPrimaryKey(Emp record);

}
